<?php  
 class DB_Registery {
        private static $instance;

        private function __construct(){}
        
        public function getInstance() {
            if(self::$instance === null) {
                    self::$instance = new NewMysql();
                    self::$instance->initCheck();
            }
            return self::$instance;
        }
    
    }
	
?>